package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/*CREATE TABLE `cmfz_admin_role` (
  `id` int(11) NOT NULL auto_increment,
  `admin_id` int(50) default NULL,
  `role_id` int(11) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
管理员-角色
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cmfz_admin_role")
public class CmfzAdminRole implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer adminId;
    private Integer roleId;
}
